/*
 ============================================================================
 Name		: stopwatchDocument.h
 Author	  : Huang.haiyang
 
     This is free software; you can redistribute it and/or
     modify it under the terms of the GNU Lesser General Public
	 License as published by the Free Software Foundation; either
     version 2 of the License, or (at your option) any later version.
 
     This software is distributed in the hope that it will be useful,
     but WITHOUT ANY WARRANTY; without even the implied warranty of
     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
     Lesser General Public License for more details.
     
 Description : Declares document class for application.
 ============================================================================
 */

#ifndef STOPWATCHDOCUMENT_H
#define STOPWATCHDOCUMENT_H

// INCLUDES
#include <akndoc.h>

// CONSTANTS

// FORWARD DECLARATIONS
class CEikAppUi;

// CLASS DECLARATION

/**
 *  CStopwatchDocument application class.
 */
class CStopwatchDocument : public CAknDocument
	{
public:
	// Constructors and destructor
	/**
	 * Two-phased constructor.
	 */
	static CStopwatchDocument* NewL(CEikApplication& aApp);

	/**
	 * Destructor.
	 */
	virtual ~CStopwatchDocument();

public:
	// New functions

public:
	// Functions from base classes
protected:
	// New functions

protected:
	// Functions from base classes

private:

	/**
	 * EPOC default constructor.
	 */
	CStopwatchDocument(CEikApplication& aApp);
	void ConstructL();

private:

	/**
	 * From CEikDocument, create CstopwatchAppUi "App UI" object.
	 */
	CEikAppUi* CreateAppUiL();
	};

#endif // STOPWATCHDOCUMENT_H

